﻿@model WeberTimeTracker.Models.Project

@{
    ViewBag.Title = "Disable";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Disable</h2>

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>Project</legend>
        <div class="display-label">Project ID</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Project_ID)
    </div>

    <div class="display-label">Client ID</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Client_ID)
    </div>

    <div class="display-label">Rate ID</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Rate_ID)
    </div>

    <div class="display-label">Project Name</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Project_Name)
    </div>

   @* <div class="editor-label">
            @Html.LabelFor(model => model.Active)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Active)
            @Html.ValidationMessageFor(model => model.Active)
        </div>*@

        <p>
            <input type="submit" value="Disable" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>
